package com.mall.commons.tool.utils;

/**
 * 类<code>Doc</code>用于：TODO
 *
 * @author Acher
 * @version 1.0
 * @date 2021-11-01
 */
public class ObjectIsEmptyUtils {

    public static boolean integerIsEmpty(Integer n) {
        return n == null || n <= 0;
    }

    public static boolean longIsEmpty(Long n) {
        return n == null || n <= 0;
    }

    public static boolean stringIsEmpty(String s) {
        return s == null || "".equals(s.trim());
    }
}
